<?php
/**
 * Created by PhpStorm.
 * User: geolo
 * Date: 2018/10/9
 * Time: 17:15
 */
namespace app\modules\api\controllers;
use app\models\Order;
use app\modules\mch\models\StoreDataForm;

class BusinessController extends Controller
{
    public function behaviors()
    {
        return array_merge(parent::behaviors(), [
        ]);
    }
    public function actionIndex()
    {
        $data = \Yii::$app->request->get();
        $buiness_id = $data['buiness_id'];
        $form = new StoreDataForm();
        $form->store_id = $buiness_id;
        $dataform  = $form->search();
        var_dump($dataform);
    }

}